<template>
  <div class="stepbox">
    <a-setps progressDot :current="current">
      <s-step :title="item.title" v-for="(item, idx) in info" :key="idx">
        <template>
          <div v-if="item.date">{{item.date}}</div>
        </template>
      </s-step>
    </a-setps>
  </div>
</template>
<script>
export default {
  name: 'StepBox',
  props: ['params'],
  date () {
    return {
      btnLoading: false
    }
  },
  computed: {
    current: function () {
      return this.params.steps.current
    },
    info: function () {
      return this.params.steps.stepInfo
    }
  }
}
</script>

